package com.dlc.shop.mp.common.platform.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dlc.shop.mp.common.model.WeixinMaterial;

import java.util.List;

/**
 *
 * @author lgh on 2019/05/14.
 */
public interface WeixinMaterialService extends IService<WeixinMaterial> {

    /**
     * 批量保存
     * @param allMaterial
     * @param type
     */
    void insertBatch(List<WeixinMaterial> allMaterial, String type);

    /**
     * 删除素材
     * @param mediaId
     */
    void delete(String mediaId);
}
